package com.bt.table.ppt;

/**
 * Bpm_bis_pathId entity. @author MyEclipse Persistence Tools
 */

public class Bpm_bis_pathId implements java.io.Serializable {

	// Fields

	private String bpm_path_id_fk;
	private String bpm_path_ver_fk;
	private String bpm_cr_ope_no;

	// Constructors

	/** default constructor */
	public Bpm_bis_pathId() {
	}

	/** full constructor */
	public Bpm_bis_pathId(String bpm_path_id_fk, String bpm_path_ver_fk,
			String bpm_cr_ope_no) {
		this.bpm_path_id_fk = bpm_path_id_fk;
		this.bpm_path_ver_fk = bpm_path_ver_fk;
		this.bpm_cr_ope_no = bpm_cr_ope_no;
	}

	// Property accessors

	public String getBpm_path_id_fk() {
		return this.bpm_path_id_fk;
	}

	public void setBpm_path_id_fk(String bpm_path_id_fk) {
		this.bpm_path_id_fk = bpm_path_id_fk;
	}

	public String getBpm_path_ver_fk() {
		return this.bpm_path_ver_fk;
	}

	public void setBpm_path_ver_fk(String bpm_path_ver_fk) {
		this.bpm_path_ver_fk = bpm_path_ver_fk;
	}

	public String getBpm_cr_ope_no() {
		return this.bpm_cr_ope_no;
	}

	public void setBpm_cr_ope_no(String bpm_cr_ope_no) {
		this.bpm_cr_ope_no = bpm_cr_ope_no;
	}

	public boolean equals(Object other) {
		if ((this == other))
			return true;
		if ((other == null))
			return false;
		if (!(other instanceof Bpm_bis_pathId))
			return false;
		Bpm_bis_pathId castOther = (Bpm_bis_pathId) other;

		return ((this.getBpm_path_id_fk() == castOther.getBpm_path_id_fk()) || (this
				.getBpm_path_id_fk() != null
				&& castOther.getBpm_path_id_fk() != null && this
				.getBpm_path_id_fk().equals(castOther.getBpm_path_id_fk())))
				&& ((this.getBpm_path_ver_fk() == castOther
						.getBpm_path_ver_fk()) || (this.getBpm_path_ver_fk() != null
						&& castOther.getBpm_path_ver_fk() != null && this
						.getBpm_path_ver_fk().equals(
								castOther.getBpm_path_ver_fk())))
				&& ((this.getBpm_cr_ope_no() == castOther.getBpm_cr_ope_no()) || (this
						.getBpm_cr_ope_no() != null
						&& castOther.getBpm_cr_ope_no() != null && this
						.getBpm_cr_ope_no()
						.equals(castOther.getBpm_cr_ope_no())));
	}

	public int hashCode() {
		int result = 17;

		result = 37
				* result
				+ (getBpm_path_id_fk() == null ? 0 : this.getBpm_path_id_fk()
						.hashCode());
		result = 37
				* result
				+ (getBpm_path_ver_fk() == null ? 0 : this.getBpm_path_ver_fk()
						.hashCode());
		result = 37
				* result
				+ (getBpm_cr_ope_no() == null ? 0 : this.getBpm_cr_ope_no()
						.hashCode());
		return result;
	}

}